package com.qualitair44.quizz;

import java.util.ArrayList;

public class QuizzItem {
	
	private String question;
	private ArrayList<String> answers;
	private int correctAnswer;
	
	public QuizzItem(String question, ArrayList<String> answers, int correctAswer){
		this.question = question;
		this.answers = new ArrayList<String>(answers);
		this.correctAnswer = correctAswer;
	}
	
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public ArrayList<String> getAnswers() {
		return answers;
	}
	public void setAnswers(ArrayList<String> answers) {
		this.answers = answers;
	}
	public int getCorrectAnswer() {
		return correctAnswer;
	}
	public void setCorrectAnswer(int correctAnswer) {
		this.correctAnswer = correctAnswer;
	}
}
